Log In  
BBS > Lexaloffle Community Superblog
This is a combined feed of all Lexaloffle user blogs. For Lexaloffle-related news, see @zep's blog.

All | Following | PICO-8 | Voxatron | General | Off-site
[ :: Read More :: ]

Hi all!

Based on my embryonic understanding of polar coordinates, you can draw a spiral by incrementing R and THETA in lock step.

So I put together this little blob of code:

-- draw a spiral
-- in polar coordinates, you
-- do this by incrementing r
-- and theta at the same time.

for r = 1,99 do
    theta = r / 100
    x = r * cos(theta)
    y = r * sin(theta)
    pset(x,y)
end

And that almost yields a spiral! At least it yields a curve. Yay curves!

Is it possible that I'm drawing my spiral, I just need to somehow scale it down so that the dots are contiguous and maybe the angle of turn is sharper?

Any clues are appreciated. I'm just trying to gain an understanding of the basics and build from there.

Thanks!

P#64225 2019-05-07 14:01
[ :: Read More :: ]

Cart #snaketris-0 | 2019-05-06 | Code ▽ | Embed ▽ | No License | Edit

A mashup of Snake and Tetris. Made for the Retrospelsmässan (http://www.retrospelsmassan.se/eng/) Game Jam.

Music and sound by sfabian. The music is a mashup as well; if you're smarter than me you just might know of what.

This was demoed as basically an arcade game so optimized for that, with hiscore entry etc.

P#64207 2019-05-06 16:26
[ :: Read More :: ]

Cart #modelr_jam-0 | 2019-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Made in 48h for the first ZJam

Roberto Serrano
@highlandbert

P#64208 2019-05-06 15:55 ( Edited 2019-05-06 15:55)
[ :: Read More :: ]

Early version with opening doors but hardly anything else:

Cart #nuzukeheba-0 | 2019-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12

Much later version with sliding walls, triggers, and enemy AI being tested:

Cart #sudugpir-0 | 2019-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12

Severe performance issues in the latter.

P#64204 2019-05-06 14:23
[ :: Read More :: ]

by zmc
Cart #jmpr-1 | 2019-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

First try at PICO-8. It was lots of fun to learn about and play with. I think it's a great tool to quickly test small ideas. Hopefully this will be the first of many small PICO-8 experiments.

P#64197 2019-05-06 04:41 ( Edited 2019-05-06 04:42)
[ :: Read More :: ]

Cart #wightofsteeluno-0 | 2019-05-05 | Code ▽ | Embed ▽ | No License
4

My game, Wight of Steel, is a sequel to a game I made on Scratch about a year ago. However, unlike its predecessor, this game focuses on challenge, precision, and speed. Albert, a black mass with glowing white eyes, goes on a journey to become the Wight of Steel. You probably won't beat this game, but it is 100% possible. If you beat the game without using a password, the time it took for you to complete the game will be displayed.

Controls:
Move horizontally - Left/Right arrows
Jump - Z
Fast Fall - Down arrow
Reset - Hold up arrow and press X
Holding the Z key will make your jump higher.
Holding the down key as you are jumping will make your jump shorter.

P#64195 2019-05-05 22:55 ( Edited 2019-05-05 22:55)
[ :: Read More :: ]

Cart #rocket9-0 | 2019-05-04 | Code ▽ | Embed ▽ | No License
1

First game with PICO-8 (already loving it!).
Your standard spaceship game but you only earn points while boosting. The closer to the right edge, the more points you earn (+1/2/3/4).
Shooting at asteroids can save you, but ammo is limited. Pickups give you +50 ammo.
It gets harder the higher your score.

P#64185 2019-05-05 14:34
[ :: Read More :: ]

Cart #unlocked1-2 | 2019-05-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
22

Description

Who needs gameplay when you have ACHIEVEMENTS? Don't worry about beating levels, finding ways to kill enemies, or beating the final boss...there are none. Focus solely on your ultimate destiny...doing random tasks that have nothing to do with anything. Metagame yourself with ease! Self-satisfaction never felt so...artificial!

Controls

Use the arrow keys...if you dare.

Version History

  • v1.02 (May 17, 2019)
    Fixed a bug with the 0th achievement description, and with holding UP immediately upon starting
  • v1.01 (May 6, 2019)
    Made some important secrets even more secret
  • v1.0 (May 5, 2019)
    Initial release
P#64184 2019-05-05 11:25 ( Edited 2019-05-17 08:53)
[ :: Read More :: ]

Cart #rspr_greygraphics-3 | 2019-05-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9

Hi,

I made a small demo of a function I have been working on. It is called rspr and can draw sprites with any rotation.
It has the following signature:

rspr(sx,sy,sw,sh,a,dx,dy,dw,dh)
--  sx,sy,sw,sh - pos,dimensions in spritesheet
--  a - angle
--  dx,dy,dw,dh - pos,dimensions on screen

It takes the angle in the same format as sin and cos and draws the sprite rotated around dx,dy.
You can scale the drawn sprite with dw,dh and it can draw sprites of any size.
However, large values for dw and dh cause some serious performance losses, so you should avoid scaling up sprites to unreasonable sizes.

Due to this slowdown, I would really like to have this function implemented natively in pico-8. What do you think, @zep?

Thank you, @freds72, for the suggestion of inlining the function calls. It does speed up the function remarkably.

P#64178 2019-05-04 22:55 ( Edited 2019-05-05 17:52)
[ :: Read More :: ]

Cart #ssuhadobe-0 | 2019-05-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Hello. First time poster here.

I've uploaded an asteroid mining WIP. It's attempting to generate asteroids of different composition and size.

You can move through them with left and right arrows.

I used the 3d demo code from Picozine 2 with a randomly deformed icosohedran mesh for the asteroid body. Instead of then rasterizing the faces, I've opted to spin the asteroid body for each palette color. This, ideally to give a sense of dust scattered around.

Do these look like asteroids? Am I just putting off rasterizing the faces?

Any feedback greatly appreciated.

Inspirational community here. I'm really enjoying Pico-8.

P#64174 2019-05-04 15:23 ( Edited 2019-05-04 15:25)
[ :: Read More :: ]

When I run pico-8 v0.1.12c Rapberry Pi version on my Freeplay CM3, the gamepad is not working anymore. The gamepad was working on previous version of pico-8.
I got this error message :

the path /dev/dri cannot be opened or is not available

I don't know if the message is related to the gamepad or not
Maybe someone can help?

P#64167 2019-05-04 00:43
[ :: Read More :: ]

Case solved: issue was triggered by one of my USB sticks constantly sending inputs

When exporting Tiny Sim, some keys are stuck:

P#64164 2019-05-03 14:25 ( Edited 2019-05-04 09:17)
[ :: Read More :: ]

Cart #pasteldispel-0 | 2019-04-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

An intense crayon battle royale for 2-4 players!

... or rather a slightly more intense remake of Achtung, die kurve! with some new special effects and a different style.

How to play:
Use left and right buttons (default: arrow keys for P1 and S/F for P2) and avoid colliding. You can pass through other pastels in the darker areas.

-

-

P#64035 2019-05-03 11:29 ( Edited 2019-05-03 11:40)
[ :: Read More :: ]

Apologies if this is common knowledge and I asked on Twitter as well, but...

Is it just me or does anybody else get extreme audio stuttering on Android with Chrome on the web export? This has happened across three diffferent phones and three Pico8 versions. Audio is fine on Samsung's browser and Edge mobile. Was there ever a fix for this that I missed?

P#64162 2019-05-03 11:11
[ :: Read More :: ]

Hey @zep,

Looks like the ability to load carts via their BBS post ID is currently broken?

Which, with the current absence of the [Copy Cart] BBS feature - means it's a bit of a faff to load a BBS cart into standalone PICO-8.

Thanks in advance.

Paul

P#64157 2019-05-03 07:35 ( Edited 2019-05-03 07:37)
[ :: Read More :: ]

Cart #video_mode_tester-0 | 2019-05-02 | Code ▽ | Embed ▽ | No License
4


This cartridge is intended for PICO-8 newcomers to learn how each mode works.

Use the arrows to change the video mode. Valid modes are 0~7.

It writes to the address 0x5F2C in Draw State RAM to set the video mode (display resolution or reflection).

The sprites used here are Jelpi sprites!

P#64141 2019-05-02 06:58
[ :: Read More :: ]

look its karel the robot

Cart #karel_the_robot-0 | 2019-05-01 | Code ▽ | Embed ▽ | No License

wow karel is an intro-duction to programming that ueses phive whole instructions.
karel can move(), which makes it go forewarde
karel can turnleft() whchic should be obvious
karel may dropchip() thath puts a chip on the ground?
karel can takechip() and that picks up any chips that are on the same tile as it
karel is capable of checkchip() whitch returns the chipcode of the chip its on

okay if you want human redable instruction go to this link

P#64137 2019-05-02 03:55
[ :: Read More :: ]

I've used Gamemaker in the past to make games and I have experience coding. But for some reason, Pico-8 is intimidating. I bought it to make a game for my wife's birthday and i'm terrified to start. I don't know why. I think I was expecting it to be easier? I didn't expect i'd have to code the game from scratch and instead was hoping for a drag and drop vibe like unity of game maker. How do I get over this initial fear?

P#64136 2019-05-02 03:32
[ :: Read More :: ]

Cart #picobreakout452-0 | 2019-05-02 | Code ▽ | Embed ▽ | No License

P#64134 2019-05-02 02:18
[ :: Read More :: ]

When saving to .p8.png, PICO-8 flattens the #include directives. But it does not do that with the HTML exports, resulting in broken exports:

Is there an option I may be missing?

P#64108 2019-05-01 22:33
View Older Posts